package serive;

import entity.Mail;
import entity.User;

import java.util.List;

/**
 * @className: AdminService
 * @description: TODO 类描述
 * @author: Dong
 * @date: 2021/12/30
 **/
public interface AdminService {
    boolean login(String id, String pwd);
    List<Mail> queryAllMail();
    List<Mail> queryMail(String mid);
    List<User> queryUser();
    User queryUser(String uid);
     boolean modify(String uId, String password1,String password2, String idCard, String sex, int age,
                          String address, String uName, String telephone);

    boolean delete(String uid);
    List<Mail> withoutDeliveryForThreeDays();
}
